/**
 * Package:com.goldcitynet.server.hanlder;
 * $Id: BussinessHandler.java,v 1.1 2009/03/20 08:34:35 yangc Exp $
 * Copyright(c) 2001-2005 www.afteryuan.com
 */
package com.afteryuan.server.handler;

import com.afteryuan.server.command.up.CommandUp;
import com.afteryuan.server.ConnectSession;

/**
 * 指令处理器接口.
 * 实现此接口,实现用户自定义业务逻辑
 * <p/>
 * <p><a href="Handler.java.html"><i>View Source</i></a></p>
 *
 * @author <a href="mailto:afteryuan@afteryuan.com">$Author: yangc $</a>
 * @version $Revision: 1.1 $
 */
public interface Handler {

    /**
     * 处理业务。
     *
     * @param session 用户session
     * @param command 上行命令
     */
    void process(ConnectSession session, CommandUp command);
}